// 雇员、经理、CEO
#include <iostream>
using namespace std;

class Employee {
private:
    char name[50], SSN[15];
    int dept;
    float salary;

public:
    Employee() = default;
    void GetEmpInfo() {}
    void WriteEmpInfo() {}
};

class Boss : public Employee {
private:
    float bounus;

public:
    void WhatsMyBounus() {
        cout << "今年的奖金是多少? ";
        cin >> bounus;
        cin.ignore(25, '\n');
    }

    void WriteBounus() {
        cout << "奖金: $" << bounus << "\n";
    }
};

class CEO : public Boss {
private:
    int stock_options;

public:
    void HowManySharesDoIGet() {
        cout << "获得多少股份: ";
        cin >> stock_options;
        cin.ignore(25, '\n');
    }

    void WriteShares() {
        cout << "股票: " << stock_options << "\n";
    }
};

int main() {
    cout << "干活、干活、干活\n";

    CEO ceo;
    ceo.GetEmpInfo();
    ceo.WhatsMyBounus();
    ceo.HowManySharesDoIGet();

    ceo.WriteEmpInfo();
    ceo.WriteBounus();
    ceo.WriteShares();

    cout << "\n活干完了\n";
}